import java.util.Scanner;

//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
public class Main {
    public static void main(String[] args) {
        //TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
        // to see how IntelliJ IDEA suggests fixing it.
        Scanner scanner=new Scanner(System.in);
        /*System.out.println("请输入一个数字");
        int number=scanner.nextInt();
        String result=(number%2==0)?"Even":"Odd";
        System.out.println(number +" is "+ result);*/
        /*System.out.println("Enter emplpyee ID:");
        int empld=scanner.nextInt();
        System.out.println("Enter emplpyee name:");
        String empName=scanner.next();
        System.out.println("Enter designation:");
        String designation=scanner.next();
        System.out.println("Enter basic salary:");
        double basicSalary=scanner.nextDouble();
        //allowances
        double hra=basicSalary*0.50;
        double ta=basicSalary*0.10;
        double da=basicSalary*0.15;
        double incomeTax=basicSalary*0.02;
        //gross salary
        double grossSalary=basicSalary+hra+ta+da;
        //net salary
        double netSalary=grossSalary-incomeTax;
        System.out.println("Employee ID:"+empld);
        System.out.println("Employee Name:"+empName);
        System.out.println("Designation:"+designation);
        System.out.println("HRA:"+hra);
        System.out.println("TA:"+ta);
        System.out.println("DA:"+da);
        System.out.println("income Tax:"+incomeTax);
        System.out.println("Gross Salary:"+grossSalary);
        System.out.println("Net Salary:"+netSalary);
        scanner.close();*/
        System.out.println("请输入两个整数：");
        int num1=scanner.nextInt();
        int num2=scanner.nextInt();
        int num3=num2;
        int ret=num2-num1;
        int ret1=num2-num1;
        System.out.println("Even");
        while((ret--)>=0)
        {
            if(num2%2==0)
            {
                System.out.print(num2+" ");
            }
            num2--;
        }
        System.out.println("\n");
        System.out.println("Odd");

        while((ret1--)>0)
        {
            if(num3%2!=0)
            {
                System.out.print(num3+" ");
            }
            num3--;
        }
       /* System.out.println("Enter three integers:");
        int num1=scanner.nextInt();
        int num2=scanner.nextInt();
        int num3=scanner.nextInt();
        int biggest=(num1>num2)?((num1>num3)?num1:num3):((num2>num3)?num2:num3);
        System.out.println("The biggest of the three integers is:"+biggest);*/
        }
    }
